package com.aimaoblog.admin.dao;

import com.aimaoblog.pojo.Sort;
import com.aimaoblog.vo.SortAndArticleCountVo;

import java.util.List;

public interface SortMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Sort record);

    int insertSelective(Sort record);

    Sort selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Sort record);

    int updateByPrimaryKey(Sort record);

    List<SortAndArticleCountVo> selectAll();

    List<SortAndArticleCountVo> selectAllByKeyWord(String keyWord);
}